<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        /* contat:拼接两个数组，但是不能改变原数组的结构 */
        var arr=[1,2,3];
        var obj=[4,5,6];
        var newArray=arr.concat(obj)
        console.log(newArray)   
    </script>
</body>
</html>